const exam = {
    path: "/exam",
    component: () => import("@/views/exam/container.vue"),
    meta:{
        title:"考试与题库",
        url:"/exam/question"
    },
    children: [
        //题库管理模块
        {   
            meta:{
                title:"题库管理"
            },
            path: "question",
            // path: "/exam/question",
            url:"/exam/question",
            component: () => import("@/views/exam/question.vue"),
        },
        {   
            meta:{
                // title:"试题列表"
                title:"题库管理·试题列表",
                url:"/exam/question",
            },
            path: "question/index/:id?", //id后＋?就可以使id可有可无
            // path: "/exam/question",
            component: () => import("@/views/exam/question/index.vue"),
        },
        {   
            meta:{
                title:"添加题库",
                url:"/exam/question",
            },
            path: "addQuestion",
            // path: "/exam/addQuestion",
            component: () => import("@/views/exam/addQuestion.vue"),
        },
        {   
            meta:{
                title:"试题列表·新增试题",
                url:"/exam/question",
            },
            path: "question/add",
            // path: "/exam/addQuestion/add",
            component: () => import("@/views/exam/question/add.vue"),
        },
        {   
            meta:{
                title:"试题列表·试题详情",
                url:"/exam/question",
            },
            path: "question/topicDetails/:tid",
            // path: "/exam/question/add",
            component: () => import("@/views/exam/question/topicDetails.vue"),
        },
        {   
            meta:{
                title:"题库管理·题库详情",
                url:"/exam/question",
            },
            path: "questionDetail/:tid",
            // path: "/exam/question/add",
            component: () => import("@/views/exam/questionDetail.vue"),
        },
         //试题管理模块
        {   
            meta:{
                title:"试卷管理",
                url:"/exam/testpaper",
            },
            path: "testpaper",
            // path: "/exam/testpaper",
            component: () => import("@/views/exam/testpaper/index.vue"),
        },
        {   
            meta:{
                title:"试卷列表·详情",
                url:"/exam/testpaper",
            },
            path: "testpaper/detail/:id",
            // path: "/exam/testpaper",
            component: () => import("@/views/exam/testpaper/detail.vue"),
        },
        {   
            meta:{
                title:"试卷列表·组卷",
                url:"/exam/testpaper",
            },
            path: "testpaper/addtestpaper",
            // path: "/exam/testpaper",
            component: () => import("@/views/exam/testpaper/addTestpaper.vue"),
        },
        {   
            meta:{
                title:"安排列表",
                url:"/exam/arrange",
            },
            path: "arrange",
            // path: "/exam/arrange",
            component: () => import("@/views/exam/arrange/index.vue"),
        },
        {   
            meta:{
                title:"安排·新增",
                url:"/exam/arrange",
            },
            path: "arrange/add",
            // path: "/exam/arrange",
            component: () => import("@/views/exam/arrange/addArrange.vue"),
        },
        {   
            meta:{
                title:"安排·阅卷",
                url:"/exam/arrange",
            },
            path: "arrange/review/:id",
            // path: "/exam/arrange",
            component: () => import("@/views/exam/arrange/review.vue"),
        },
    ]
}
export default exam